const Router = require('koa-router')
const { auth } = require('../middleware/auth.middleware')
const router = new Router({prefix: '/common'})
const { upload } = require('../controller/common.controller')
// 上传文件
router.post('/upload', upload)
module.exports = router

